#include "Hostile.hpp"


void Hostile::changeHitPoints(int iChangeValue)
{
	m_iHitPoints += iChangeValue;
}

void Hostile::setDamage(int iDamage)
{
	m_iDamage = iDamage;
}

const int& Hostile::getDamage() const
{
	return m_iDamage;
}

void Hostile::setHitPoints(int iHitPoints)
{
	m_iHitPoints = iHitPoints;
}

const int& Hostile::getHitPoints() const
{
	return m_iHitPoints;
}

void Hostile::sufferDmg(int iDmg)
{
	m_iHitPoints -= iDmg;
}

void Hostile::setHostileType(HOSTILE_TYPE hostileType)
{
	m_hostileEntityType = hostileType;
}

const HOSTILE_TYPE& Hostile::getHostileType() const
{
	return m_hostileEntityType;
}

//EOF
